package com.hspedu.homework_;

public class A {
    private String name = "merry";
    public void f1(){
        class B{
            private String name = "jack";

            public void show(){
                System.out.println(A.this.name);
            }
        }
        B b = new B();
        b.show();
    }
}

class Test{
    public static void main(String[] args) {
        new A().f1();
    }
}